The basic background for a DiagramSurface is controlled by the standard Background property. This can be set to any brush, allowing you to use graphics or gradients as backgrounds for your diagram.

If you are using snapping, you may want to draw the snap lines over the background. To do this, set the DiagramSurface.SnapLineDrawing property to an ISnapLineDrawing. The toolkit includes three standard snap line drawing implementations:

You can control the exact appearance of each line drawing using brushes or pens. For example:

CopyDrawing snap lines
<Window.Resources>
<ms:IntervalLineSnapLineDrawing x:Key="SnapLineDrawing">
  <ms:IntervalLineSnapLineDrawing.MainPen>
    <Pen Brush="DarkGreen" Thickness="0.1" />
  </ms:IntervalLineSnapLineDrawing.MainPen>
  <ms:IntervalLineSnapLineDrawing.IntervalPen>
    <Pen Brush="Black" Thickness="0.3" />
  </ms:IntervalLineSnapLineDrawing.IntervalPen>
</ms:IntervalLineSnapLineDrawing>
</Window.Resources>

<ms:DiagramSurface SnapLineDrawing="{StaticResource GraphPaper}" />

You can create your own implementations of ISnapLineDrawing if you want to render snapping information in your own custom style.